package com.hzgj.bcl.soa.config;

import com.hzgj.bcl.soa.api.IdempotentIdGen;
import com.hzgj.bcl.soa.api.IdempotentProcessor;
import com.hzgj.bcl.soa.rpc.retry.RetryPolicy;

import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;

/**
 * Created by warning5 on 2017/3/1.
 */
@Getter
@Setter
public class MethodDef extends ClientConfig implements Serializable {

    private String name;
    private Class<IdempotentIdGen> idempotentIdGenClass;
    private IdempotentIdGen idempotentIdGen;
    private Class<IdempotentProcessor> idempotentProcessorClass;
    private String pool;
    private RetryPolicy retryPolicy;
}
